package com.huawei.user.mapper;

import com.huawei.user.domain.Logininfo;
import com.huawei.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author raintea
 * @since 2022-05-09
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    /**
     * 根据用户名和类型查询登录人信息
     * @param username
     * @param type
     */
    Logininfo loadByUsernameAndType(@Param("username")String username, @Param("type")Integer type);
<<<<<<< HEAD

    Logininfo loadByUserId(Long userId);
=======
>>>>>>> 815a078707a159f81958d10b606db1f81992e9cf
}
